#ifndef __LEDKEY_H
#define __LEDKEY_H




#include "stm32f10x.h"                  // Device header




void tim4_init(void);

void ledkey_init(void );

void   led_red(uint8_t  a);

void   led_green(uint8_t a);



void led_red_overturn(void);
void led_green_overturn(void);

void led_setlight(u16 compare);




#endif


